﻿#include <iostream>

using namespace std;

int main() {
	int n;
	do {
		cout << "个数：";
		cin >> n;
	} while (n <= 0);

	while (n > 0) {
		if (n != 1) {
			cout << "+-";
			n -= 2;
		}
		else {
			cout << "+";
			n = 0;
		}
	}

	cin.get();
	cin.get();
}